package com.example.xuwsh.myBatisPlus.fun;

import com.baomidou.mybatisplus.core.conditions.AbstractLambdaWrapper;
import com.baomidou.mybatisplus.core.toolkit.support.ColumnCache;
import com.baomidou.mybatisplus.core.toolkit.support.SFunction;

/**
 * @Author: xuwsh
 * @Date: 2023/09/19/19:03
 * @Description:
 */
public class ColumnService<T> extends AbstractLambdaWrapper<T, ColumnService<T>> {

    @Override
    protected ColumnService<T> instance() {
        return null;
    }

    public String getFiled(SFunction<T, ?> column) {
        return columnToString(column, true);
    }

    public ColumnCache getColumnCacheMethod(SFunction<T, ?> column) {
        return super.getColumnCache(column);
    }

}
